<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Cache-Control" content="No-Cache">
	<meta http-equiv="Pragma" content="No-Cache">

	<title>운세의신</title>
    
    <link rel="stylesheet" type="text/css" href="/css/common.css">
    <link rel="stylesheet" type="text/css" href="/css/sub.css">
	<link rel="stylesheet" type="text/css" href="/css/free.css">

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function() {
			
			// 메뉴 링크 설정
			$("#cards ul li").each(function(index) {
				$(this).click(function() {
					$("#cards ul li").removeClass('on');
					$("#cards ul li").eq(index).addClass('on');
					$("#chk").val('Y');
				});
			});
			
			// 결과보기 버튼
			$("#btn_result").click(function() {
				if ( $("#chk").val() != '') {
					$("#frm").submit();
				} else {
					alert("카드를 선택하세요.");
				}
			});
		});
	</script>
</head>
<body>
<form method="post" id="frm" action="/unse/free/tarot/result">
	<input type="hidden" name="chk" id="chk" />
</form>
<div id="wrap">
	<!-- Header -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_header.php'; ?>
	<!--// Header -->
    
    <!--커튼 데코레이션-->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/drape.php'; ?>
	<!--//커튼 데코레이션-->
    
    <!--컨텐츠-->
	<div id="content">
		<!--휘장-->
		<div class="keybox1"> </div>
		<!--//휘장-->
        <p class="key_visual"><img src="/images/sub/free/free_visual.png" alt="무료운세" /></p>	
		
		<!--왼쪽컨텐츠-->
		<div class="assistant">
			<!--왼쪽 메뉴-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/inc_lnb.php'; ?>
			<!--// 왼쪽 메뉴-->

			<!--추천테마-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/theme2.php'; ?>
			<!--//추천테마-->

			<!--회원가입-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/member_join.php'; ?>
			<!--//회원가입-->

			<!--고객센터-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/cs.php'; ?>
			<!--//고객센터_추가-->
		</div>
		<!--//왼쪽컨텐츠-->

		<!-- 메인컨텐츠-->
		<div class="cont">
	 	<!-- Contents -->

    		<div class="tarot2">
            <h3 class="freetit"><img src="/images/free/tarot_banner.png" alt="타로점성술" /></h3>
				<div class="tarbox">
                
					<div class="conts">
						<dl>
							<dt><img src="/images/unse/free_tarot/mj<?=$contents['T043']['cardImage']?>.jpg" alt="카드" /></dt>
							<dd class="cardtit"><span><?=$contents['T043']['title']?></span></dd>
						</dl>
						<div class="result">
                        	<p class="front">정방향 :<em><?=substr($contents['T043']['summary_1'], 5)?></em></p>
                            <p class="back">역방향 :<em><?=substr($contents['T043']['summary_2'], 5)?></em></p>
                            <div class="story_bx" ><em><?=$contents['T043']['data']?></em></div>
							
						</div><!--result-->
					</div><!--conts-->
					
				</div><!--tarbox-->
			</div><!--tarot--> 
              <!--하단컨텐츠--> 
                <!--//하단컨텐츠--> 
	<!--// Contents -->
		</div>
        <!--// 메인컨텐츠-->
          <!--서비스배너-->
        <? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/bn_service.php'; ?>
        <!--//서비스배너--> 

        </div>

	<!-- Footer -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_footer.php'; ?>
	<!--// Footer -->
   
</div>
</body>
</html>